package com.guigu.xm.yy.mapper;

import com.guigu.xm.pojo.MDesignProcedureModuleDetails;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MDesignProcedureModuleDetailsMapper {
    int deleteByPrimaryKey(Integer id);
    //添加工序物料明细
    int add2(MDesignProcedureModuleDetails mDesignProcedureModuleDetails);

    int add1(MDesignProcedureModuleDetails mDesignProcedureModuleDetails);

    MDesignProcedureModuleDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MDesignProcedureModuleDetails record);

    int updateByPrimaryKey(MDesignProcedureModuleDetails record);

    List<MDesignProcedureModuleDetails> allWuliao(String parent_id);
 /*   @Select("SELECT SUM(subtotal) FROM m_design_procedure_module_details WHERE parent_id=#{gxbh}")
    MDesignProcedureModuleDetails jisuan(String gxbh);*/
}